package Vue.Chateau;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.GridLayout;
import java.awt.Insets;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JSplitPane;
import javax.swing.border.LineBorder;

public class ChateauJeuPanelBasGauche extends JPanel {

	private static final long serialVersionUID = 1L;
	private JPanel jpHaut,jpHautDroite,jpBas;
	private JButton jb1_hd,jb2_hd,jb3_hd;
	private JButton jb1_b,jb2_b,jb3_b,jb4_b,jb5_b,jb6_b,jb7_b,jb8_b;
	private JSplitPane jsp1,jsp2,jsp3;
	private JLabel jl1,jl2;
	
	public ChateauJeuPanelBasGauche() {

		this.setBorder(new LineBorder(Color.BLACK,2));
		this.setBackground(Color.BLACK);
		this.jpHaut = new JPanel();
		this.jpHaut.setBackground(Color.BLACK);		
	
		this.jl1 = new JLabel();
		this.jl1.setText("Darkburow");
		this.jl1.setForeground(Color.WHITE);
		this.jl1.setBackground(new Color(69, 53, 40));
		this.jl1.setOpaque(true);
		this.jl1.setBorder(new LineBorder(Color.BLACK,1));

		this.jpHautDroite = new JPanel();
		this.jpHautDroite.setBackground(Color.BLACK);
		this.jpHautDroite.setLayout(new GridLayout(1, 3));

		this.jb1_hd = new JButton();
		this.jb1_hd.setIcon(new ImageIcon(("./src/Images/Chateaux/Chateau/Batiments/maison.gif")));
		this.jb1_hd.setMargin(new Insets(0, 0, 0, 0));
		this.jb1_hd.setBackground(Color.BLACK);
		this.jb1_hd.setBorder(new LineBorder(Color.BLACK,1));
		this.jpHautDroite.add(jb1_hd);
	
		this.jb2_hd = new JButton();
		this.jb2_hd.setIcon(new ImageIcon(("./src/Images/Chateaux/Chateau/Batiments/petitChateau.gif")));
		this.jb2_hd.setMargin(new Insets(0, 0, 0, 0));
		this.jb2_hd.setBackground(Color.BLACK);
		this.jb2_hd.setBorder(new LineBorder(Color.BLACK,1));
		this.jb2_hd.setEnabled(true);
		this.jpHautDroite.add(jb2_hd);

		this.jb3_hd = new JButton();
		this.jb3_hd.setIcon(new ImageIcon(("./src/Images/Chateaux/Chateau/Batiments/sous.gif")));
		this.jb3_hd.setMargin(new Insets(0, 0, 0, 0));
		this.jb3_hd.setBackground(Color.BLACK);
		this.jb3_hd.setBorder(new LineBorder(Color.BLACK,1));
		this.jpHautDroite.add(jb3_hd);

		this.jsp1 = new JSplitPane(JSplitPane.VERTICAL_SPLIT, jl1,this.jpHautDroite);
		this.jsp1.setDividerLocation(20);
		this.jsp1.setBorder(new LineBorder(Color.BLACK,1));
		this.jsp1.setDividerSize(1);

		this.jl2 = new JLabel();
		this.jl2.setIcon(new ImageIcon("./src/Images/Chateaux/Chateau/Batiments/ChateauLogo.gif"));
		this.jl2.setBorder(new LineBorder(Color.BLACK,2));
		this.jsp2 = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, jl2, jsp1);
		this.jsp2.setDividerLocation(80);
		this.jsp2.setBorder(new LineBorder(Color.BLACK,1));
		this.jsp2.setDividerSize(1);

		this.jpHaut.setLayout(new BorderLayout());
		this.jpHaut.add(jsp2);

		this.jpBas = new JPanel();
		this.jpBas.setBackground(Color.BLACK);
		this.jpBas.setLayout(new GridLayout(2, 4));

		this.jb1_b = new JButton();
		this.jb1_b.setIcon(new ImageIcon(("./src/Images/Chateaux/Chateau/Batiments/FondJButton2.gif")));
		this.jb1_b.setMargin(new Insets(0, 0, 0, 0));
		this.jb1_b.setBackground(Color.BLACK);
		this.jb1_b.setBorder(new LineBorder(Color.BLACK,1));
		this.jpBas.add(jb1_b);

		this.jb2_b = new JButton();
		this.jb2_b.setIcon(new ImageIcon(("./src/Images/Chateaux/Chateau/Batiments/FondJButton2.gif")));
		this.jb2_b.setMargin(new Insets(0, 0, 0, 0));
		this.jb2_b.setBackground(Color.BLACK);
		this.jb2_b.setBorder(new LineBorder(Color.BLACK,1));
		this.jpBas.add(jb2_b);

		this.jb3_b = new JButton();
		this.jb3_b.setIcon(new ImageIcon(("./src/Images/Chateaux/Chateau/Batiments/FondJButton2.gif")));
		this.jb3_b.setMargin(new Insets(0, 0, 0, 0));
		this.jb3_b.setBackground(Color.BLACK);
		this.jb3_b.setBorder(new LineBorder(Color.BLACK,1));
		this.jpBas.add(jb3_b);

		this.jb4_b = new JButton();
		this.jb4_b.setIcon(new ImageIcon(("./src/Images/Chateaux/Chateau/Batiments/FondJButton2.gif")));
		this.jb4_b.setMargin(new Insets(0, 0, 0, 0));
		this.jb4_b.setBackground(Color.BLACK);
		this.jb4_b.setBorder(new LineBorder(Color.BLACK,1));
		this.jpBas.add(jb4_b);

		this.jb5_b = new JButton();
		this.jb5_b.setIcon(new ImageIcon(("./src/Images/Chateaux/Chateau/Batiments/FondJButton2.gif")));
		this.jb5_b.setMargin(new Insets(0, 0, 0, 0));
		this.jb5_b.setBackground(Color.BLACK);
		this.jb5_b.setBorder(new LineBorder(Color.BLACK,1));
		this.jpBas.add(jb5_b);

		this.jb6_b = new JButton();
		this.jb6_b.setIcon(new ImageIcon(("./src/Images/Chateaux/Chateau/Batiments/FondJButton2.gif")));
		this.jb6_b.setMargin(new Insets(0, 0, 0, 0));
		this.jb6_b.setBackground(Color.BLACK);
		this.jb6_b.setBorder(new LineBorder(Color.BLACK,1));
		this.jpBas.add(jb6_b);

		this.jb7_b = new JButton();
		this.jb7_b.setIcon(new ImageIcon(("./src/Images/Chateaux/Chateau/Batiments/FondJButton2.gif")));
		this.jb7_b.setMargin(new Insets(0, 0, 0, 0));
		this.jb7_b.setBackground(Color.BLACK);
		this.jb7_b.setBorder(new LineBorder(Color.BLACK,1));
		this.jpBas.add(jb7_b);

		this.jb8_b = new JButton();
		this.jb8_b.setIcon(new ImageIcon(("./src/Images/Chateaux/Chateau/Batiments/FondJButton2.gif")));
		this.jb8_b.setMargin(new Insets(0, 0, 0, 0));
		this.jb8_b.setBackground(Color.BLACK);
		this.jb8_b.setBorder(new LineBorder(Color.BLACK,1));
		this.jpBas.add(jb8_b);
		this.jpBas.setBackground(Color.BLACK);

		this.jsp3 = new JSplitPane(JSplitPane.VERTICAL_SPLIT,jpHaut, jpBas);
		this.jsp3.setDividerSize(1);
		this.jsp3.setDividerLocation(75);
		
		this.setLayout(new BorderLayout());
		this.add(this.jsp3);
	}
}
